java program to find addition of first N natural numbers